#include <iostream>
#include <cstdio>
#include <cmath>
using namespace std;

int main(){
	int h,r;
	scanf("%d %d",&h,&r);
	printf("%d",20000/(int)(3.14159*h*pow(r,2))+1);
	return 0;
}
